﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Powerpi.Models
{
    public class DeviceViewModel
    {
        [Required(ErrorMessage = "设备Id不能为空")]
        public string DeviceId { get; set; }

        [Required(ErrorMessage = "设备密钥")]
        public string Secret { get; set; }
    }
}
